/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.mei;

/**
 * <p>Project: javaseapp - Enum1
 * <p>Powered by webrx On 2021-08-30 11:17:04
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
@SuppressWarnings("all")
public class Enum1 {
    //内部枚举（类）成员
    static enum MyColor {
        RED, GREEN, BLUE
    }

    public static void main(String[] args) {
        System.out.println(MyColor.RED);

        Color c = Color.BLUE;
        switch (c) {
            case GREEN:
                break;
            case BLUE:
                System.out.println("hello blue");
                break;
            default:

                break;
        }
    }
}

